/* Reset styles */
* {
    margin: 0;
    padding: 0;
}

/* Global styles */
body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    color: #333;
}

.container-fluid {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.top-nav {
    background-color: #333;
    color: #fff;
    padding: 10px;
    display: flex;
    justify-content: center;
}

.top-nav-container {
    display: flex;
    align-items: center;
    width: 80%;
}

.left-box {
    flex-grow: 1;
}

.right-box {
    display: flex;
    align-items: center;
}

.top-nav-username {
    margin-right: 10px;
}

.non-top-nav {
    flex-grow: 1;
    display: flex;
}

.sidebar {
    background-color: #f5f5f5;
    width: 20%;
    padding: 20px;
}

.sidebar-ul {
    list-style-type: none;
}

.sidebar-ul li a {
    color: #333;
    text-decoration: none;
}

.sidebar-ul li a:hover {
    color: #007bff;
}

.main {
    width: 80%;
    padding: 20px;
    overflow-y: auto;
}

.query-form {
    margin-bottom: 30px;
}

.form-group {
    display: flex;
    margin-bottom: 10px;
}

.form-control {
    margin-right: 10px;
}

.btn-primary {
    background-color: #17a2b8;
    border: none;
    color: #fff;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
}
.btn-danger {
  background-color: #a71d2a;
    border: none;
    color: #fff;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #0f6674;
}
.btn-danger:hover {
   background-color: #721c24;
}

.btn-success {
    background-color: #28a745;
    border: none;
    color: #fff;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
}

.btn-success:hover {
    background-color: #218838;
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0;
}

.table thead th,
.table tbody td {
    border: 1px solid #dee2e6;
    padding: 10px;
    text-align: center;
}

.table thead th {
    background-color: #f5f5f5;
    color: #333;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: #f9f9f9;
}

.books-table {
    overflow-x: auto;
}


